.class public Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;
.super Landroid/widget/RelativeLayout;
.source "RangeSeekBarContainer.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer$e;
    }
.end annotation


# instance fields
.field private a:Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBar;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/TextView;

.field private e:J

.field private f:J

.field private g:Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBar$b;

.field private h:Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer$e;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    const/4 v0, 0x0

    .line 1
    invoke-direct {p0, p1, v0}, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    const/4 v0, 0x0

    .line 2
    invoke-direct {p0, p1, p2, v0}, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 0

    .line 3
    invoke-direct {p0, p1, p2, p3}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 4
    new-instance p1, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer$d;

    invoke-direct {p1, p0}, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer$d;-><init>(Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;)V

    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->g:Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBar$b;

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;J)J
    .locals 0

    .line 3
    iput-wide p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->e:J

    return-wide p1
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;)Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBar;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->a:Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBar;

    return-object p0
.end method

.method public static a(J)Ljava/lang/String;
    .locals 6

    const-wide/32 v0, 0x36ee80

    .line 27
    div-long v0, p0, v0

    long-to-int v1, v0

    const-wide/32 v2, 0xea60

    .line 28
    div-long v2, p0, v2

    long-to-int v0, v2

    rem-int/lit8 v0, v0, 0x3c

    const-wide/16 v2, 0x3e8

    .line 29
    div-long v2, p0, v2

    long-to-int v3, v2

    rem-int/lit8 v3, v3, 0x3c

    const-wide/16 v4, 0x64

    .line 30
    div-long/2addr p0, v4

    const-wide/16 v4, 0xa

    rem-long/2addr p0, v4

    long-to-int p1, p0

    .line 31
    new-instance p0, Ljava/lang/StringBuilder;

    invoke-direct {p0}, Ljava/lang/StringBuilder;-><init>()V

    if-lez v1, :cond_0

    .line 32
    invoke-virtual {p0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const/16 v2, 0x68

    .line 33
    invoke-virtual {p0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    :cond_0
    if-gtz v1, :cond_1

    if-lez v0, :cond_2

    .line 34
    :cond_1
    invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const/16 v0, 0x6d

    .line 35
    invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    .line 36
    :cond_2
    invoke-virtual {p0, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const/16 v0, 0x2e

    .line 37
    invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    .line 38
    invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const/16 p1, 0x73

    .line 39
    invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    .line 40
    invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method public static a(JJ)Ljava/lang/String;
    .locals 5

    const-wide/32 v0, 0x36ee80

    const/4 v2, 0x0

    cmp-long v3, p2, v0

    if-lez v3, :cond_0

    const/4 p2, 0x1

    goto :goto_0

    :cond_0
    const/4 p2, 0x0

    .line 12
    :goto_0
    div-long v0, p0, v0

    long-to-int p3, v0

    const-wide/32 v0, 0xea60

    .line 13
    div-long v0, p0, v0

    long-to-int v1, v0

    rem-int/lit8 v1, v1, 0x3c

    const-wide/16 v3, 0x3e8

    .line 14
    div-long v3, p0, v3

    long-to-int v0, v3

    rem-int/lit8 v0, v0, 0x3c

    const-wide/16 v3, 0x64

    .line 15
    div-long/2addr p0, v3

    long-to-int p1, p0

    const/16 p0, 0xa

    rem-int/2addr p1, p0

    .line 16
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const/16 v4, 0x3a

    if-eqz p2, :cond_1

    .line 17
    invoke-virtual {v3, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    .line 18
    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    if-ge v1, p0, :cond_1

    .line 19
    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    .line 20
    :cond_1
    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    .line 21
    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    if-ge v0, p0, :cond_2

    .line 22
    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    .line 23
    :cond_2
    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const/16 p0, 0x2e

    .line 24
    invoke-virtual {v3, p0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    .line 25
    invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    .line 26
    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method private a()V
    .locals 4

    .line 4
    invoke-virtual {p0}, Landroid/widget/RelativeLayout;->getChildCount()I

    move-result v0

    const/4 v1, 0x0

    :goto_0
    if-ge v1, v0, :cond_1

    .line 5
    invoke-virtual {p0, v1}, Landroid/widget/RelativeLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v2

    .line 6
    instance-of v3, v2, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBar;

    if-eqz v3, :cond_0

    .line 7
    check-cast v2, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBar;

    iput-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->a:Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBar;

    goto :goto_1

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_1
    :goto_1
    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;ZIII)V
    .locals 0

    .line 2
    invoke-direct {p0, p1, p2, p3, p4}, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->a(ZIII)V

    return-void
.end method

.method private a(ZIII)V
    .locals 2

    .line 8
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/timepicker/a;

    invoke-virtual {p0}, Landroid/widget/RelativeLayout;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/timepicker/a;-><init>(Landroid/content/Context;)V

    .line 9
    invoke-virtual {v0, p2, p3, p4}, Lcom/esfile/screen/recorder/videos/edit/timepicker/a;->a(III)V

    .line 10
    new-instance p2, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer$c;

    invoke-direct {p2, p0, p1, p3}, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer$c;-><init>(Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;ZI)V

    invoke-virtual {v0, p2}, Lcom/esfile/screen/recorder/videos/edit/timepicker/a;->a(Lcom/esfile/screen/recorder/videos/edit/timepicker/a$c;)V

    .line 11
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/ui/a;->show()V

    return-void
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;J)J
    .locals 0

    .line 2
    iput-wide p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->f:J

    return-wide p1
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;)Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer$e;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->h:Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer$e;

    return-object p0
.end method

.method private b()V
    .locals 4

    .line 3
    sget v0, Les/x4;->rangebar_container_lefttext:I

    invoke-virtual {p0, v0}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->b:Landroid/widget/TextView;

    .line 4
    invoke-virtual {v0}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/text/TextPaint;->setFlags(I)V

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->b:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;

    move-result-object v0

    const/4 v2, 0x1

    invoke-virtual {v0, v2}, Landroid/text/TextPaint;->setAntiAlias(Z)V

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->b:Landroid/widget/TextView;

    new-instance v3, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer$a;

    invoke-direct {v3, p0}, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer$a;-><init>(Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;)V

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 7
    sget v0, Les/x4;->rangebar_container_centertext:I

    invoke-virtual {p0, v0}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->c:Landroid/widget/TextView;

    .line 8
    sget v0, Les/x4;->rangebar_container_righttext:I

    invoke-virtual {p0, v0}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->d:Landroid/widget/TextView;

    .line 9
    invoke-virtual {v0}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/text/TextPaint;->setFlags(I)V

    .line 10
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->d:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/text/TextPaint;->setAntiAlias(Z)V

    .line 11
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->d:Landroid/widget/TextView;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer$b;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer$b;-><init>(Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;)J
    .locals 2

    .line 1
    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->e:J

    return-wide v0
.end method

.method static synthetic d(Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;)Landroid/widget/TextView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->b:Landroid/widget/TextView;

    return-object p0
.end method

.method static synthetic e(Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;)J
    .locals 2

    .line 1
    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->f:J

    return-wide v0
.end method

.method static synthetic f(Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;)Landroid/widget/TextView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->c:Landroid/widget/TextView;

    return-object p0
.end method

.method static synthetic g(Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;)Landroid/widget/TextView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->d:Landroid/widget/TextView;

    return-object p0
.end method


# virtual methods
.method protected onFinishInflate()V
    .locals 2

    .line 1
    invoke-super {p0}, Landroid/widget/RelativeLayout;->onFinishInflate()V

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->a()V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->a:Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBar;

    if-eqz v0, :cond_1

    .line 4
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->b()V

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->b:Landroid/widget/TextView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->c:Landroid/widget/TextView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->d:Landroid/widget/TextView;

    if-eqz v0, :cond_0

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->a:Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBar;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->g:Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBar$b;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBar;->a(Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBar$b;)V

    return-void

    .line 7
    :cond_0
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "You should container textview to display infos"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 8
    :cond_1
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "You should container a RangeSeekBar"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method public setRangeSeekBarContainerListener(Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer$e;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->h:Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer$e;

    return-void
.end method
